import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_learn/learn/learn_flutter.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';


void main() => runApp(Myapp());

class Myapp extends StatelessWidget {
  Myapp({Key? key}) : super(key: key);
  final RestorableDouble x = RestorableDouble(19.8);

  @override
  Widget build(BuildContext context) {
    return ScreenUtilInit(
        designSize: Size(500, 889),
        builder: () => MaterialApp(
              title: "first-app",
              debugShowCheckedModeBanner: false,
              theme: ThemeData(primaryColor: Colors.grey),
              home: LearnFlutter(),

              /// IndexPage(),
            ));
  }
}
